﻿<cc:BaseWindow x:Class="LPS.CardView"
         xmlns:cc="clr-namespace:LPS"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
        xmlns:local="clr-namespace:LPS"
        Title="CardView" Height="300" Width="300">
    <i:Interaction.Behaviors>
        <local:WindowCloseBehaviour CloseButton="{Binding ElementName=closeButton}"/>
    </i:Interaction.Behaviors>
    <Grid>
        <Button Content="Close" Height="23" HorizontalAlignment="Left" Margin="139,227,0,0" Name="closeButton" VerticalAlignment="Top" Width="75"   />
        <local:MyTextBox Height="23" HorizontalAlignment="Left" Margin="83,73,0,0" x:Name="myTextBox1" VerticalAlignment="Top" Width="120" />
    </Grid>
</cc:BaseWindow> 
